import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/home",
      meta: {bottomTabbar:true},
      component: () => import("@/views/home")
    },
    {
      path: "/ping",
      component: () => import("@/views/ping")
    },
    {
      path: "/shopHome",
      component: () => import("@/views/shopHome")
    },
    {
      path: "/",
      redirect: "/home"
    }
  ]
});
